#ifndef _ReadCdump_members_H_
#define _ReadCdump_members_H_
private: 
// initializer -- this is called before the first call to function
// 'void ReadCdump(char const* buffer, const unsigned buflen)'
  /* inline*/ void ReadCdump_initialize(void) {
}

// finalizer -- this is called after the last call to function
// 'void ReadCdump(char const* buffer, const unsigned buflen)'
  /* inline*/ void ReadCdump_finalize(void) {
}

// parser -- this is called every time a new buffer is available
  /* inline*/ void ReadCdump(char const* buffer, const unsigned buflen) {
    // if this method's implementation is _simple_ enough,
    // you should inline it here
    // SPCDBG(L_DEBUG, "received a buffer with " << buflen << " bytes to be parsed","dpsop");
    // create a new tuple object
	OPort0_t otuple;

	float lat = 0.0;
	float lon = 0.0;
	double con = 0.0;

	sscanf (buffer, "%*d %*d %*d %*d %f %f %lE", &lat, &lon, &con);

	otuple._lat = lat;
	otuple._lon = lon;
	otuple._con = con;
	submitTuple0(otuple);
    // perform buffer parsing (buffer size is given by buflen)
    // submit new tuple for downstream processing
    // submitTuple0(otuple);
}

// your additional members -- remember to choose 'private', 'protected',
// or 'public' as appropriate
#endif
